Skip to content

PluggableUSB complete port #35

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 17 commits into from
Oct 12, 2015
Merged

PluggableUSB complete port #35

merged 17 commits into from
Oct 12, 2015

Conversation

facchinm
Copy link
Member

@facchinm facchinm commented Sep 7, 2015

should apply on the top of PR #27


void USB_Handler(void)
{
if (usb_isr)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not putting the vectors in RAM instead of using this trick?
SCB->VTOR=new vectors address

cmaglie and others added 5 commits September 10, 2015 16:08
The shortcut has some issues:

- sometimes it fails when sending an odd number of bytes (may be
  due to memory alignment?)
- the data pointer should point to "stable" data (and this is not
  guaranteed by caller, it may be some sort of temporary buffer)
- the SRAM is not guaranteed to start at 0x20000000

All the above problems must be properly fixed before reenabling
this part
@ArduinoBot
Copy link

✅ Build completed.

⬇️ Build URL: http://downloads.arduino.cc/PR/samd/package_samd-b37_index.json

ℹ️ To test this build:

  1. Open the Preferences of the Arduino IDE.
  2. Add the Build URL above in the Additional Boards Manager URLs field, and click OK.
  3. Open the Boards Manager (menu Tools->Board->Board Manager...)
  4. Install Arduino SAMD core - Pull Request PluggableUSB complete port #35
  5. Select one of the boards under SAMD Pull Request PluggableUSB complete port #35 in Tools->Board menu
  6. Compile/Upload as usual

@cmaglie cmaglie merged commit 02945cc into arduino:master Oct 12, 2015
@cmaglie cmaglie deleted the pluggable-hid branch October 12, 2015 15:23
@cmaglie cmaglie added this to the Release 1.6.2 milestone Oct 12, 2015
bxparks pushed a commit to bxparks/ArduinoCore-samd that referenced this pull request Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants